package com.anxin.act.task.service;

import com.anxin.act.task.entity.ViewHiTask;
import com.anxin.act.task.entity.ViewRuTask;
import com.anxin.framework.security.entity.SysTempToken;
import org.springframework.stereotype.Service;

/**
 * 待办对接
 */
@Service
public interface ActDockingSend {

    /**
     * 对接发送待办
     * @param sysTempToken
     * @param viewRuTask
     * @param userId
     * @param userName
     */
    public void sendTodoTask(SysTempToken sysTempToken,ViewRuTask viewRuTask, String userId, String userName);

    /**
     * 对接删除待办
     * @param actId
     * @param taskId
     * @param userId
     * @param userName
     */
    public void delTodoTask(String actId,String taskId,String userId,String userName);

    public void updateTodoTask(String actId,String taskId,String userId,String userName);

    /**
     * 对接发送已办
     * @param viewHiTask
     * @param userId
     * @param userName
     */
    public void sendHiTask(ViewHiTask viewHiTask,String userId,String userName);

    /**
     * 对接删除已办
     * @param viewHiTask
     * @param userId
     * @param userName
     */
    public void delHiTask(ViewHiTask viewHiTask,String userId,String userName);

}
